import { ReplyDisplayDto } from "./replyType.js";

export interface CommentDisplayDto {
    commentId: number;
    userId: number;
    name: string;
    avatar: string;
    content: string;
    likeCount: number;
    isLike: boolean;
    dateTime: string;
    replys: ReplyDisplayDto[];
}

export interface CommentAddDto {
    blogId: number;
    commentContent: string;
}

export interface CommentReplyDTO {
    commentId: number;
    parentReplyId: number;
    content: string;
}

export interface CommentQueryDto {
    blogId: number,
    pageIndex: number
}